package com.gl.order.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @Author: liangSY
 * @Date: 2021/6/22
 * @ClassName: updatePermissionDto
 * @Description: 修改权限表单数据
 */
@Data
@Builder
@ApiModel("修改权限相关参数")
public class UpdatePermissionDto {

    @NotBlank(message = "请确认需要修改的权限")
    @ApiModelProperty("权限id")
    private String id;
    @ApiModelProperty("父级id")
    private String parentId;
    @ApiModelProperty("权限名称")
    private String name;
    @ApiModelProperty("权限code")
    private String permissionCode;
}
